package icu.study.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: spring security
 * @description:
 * @author: 1246263205@qq.com
 * @create: 2020-10-08 20:24
 */
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String hello() {
        return "hello";
    }

    @GetMapping("/dba/hello")
    public String dbaHello() {
        return "dbaHello";
    }

    @GetMapping("/admin/hello")
    public String adminHello() {
        return "adminHello";
    }

    @GetMapping("/user/hello")
    public String userHello() {
        return "userHello";
    }

}